import AlphaNumeric from './alphanumeric'

const install = function(Vue) {
  Vue.directive('alphanumeric', AlphaNumeric)
}

if (window.Vue) {
  window.alphanumeric = AlphaNumeric
  Vue.use(install) // eslint-disable-line
}

AlphaNumeric.install = install
export default AlphaNumeric
